package com.test.service;

import com.test.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

public interface UserService {
    User getUserById(@Param("uid") int uid);

    int getRemain(@Param("uid") int uid);

    boolean setRemain(@Param("uid") int uid, @Param("count") int remain);
}
